package cn.edu.hznu.ocw.domain;

import java.io.Serializable;
import javax.persistence.*;

public class User implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;

	private String password;

	private String username;

	private byte utype;
	private Lecturer lecturer;

	public User() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public byte getUtype() {
		return this.utype;
	}

	public void setUtype(byte utype) {
		this.utype = utype;
	}

	public Lecturer getLecturer() {
		return this.lecturer;
	}

	public void setLecturer(Lecturer lecturer) {
		this.lecturer = lecturer;
	}

}